<template>
  <div class="header">
     <el-row>
       <el-col :span="3">
          <div class="logo">
          </div>
       </el-col>
     </el-row>
  
    <div class="RightBox">
      <input type="text" placeholder="请输入搜索内容">
      <i class="iconfont icon-search"></i>
      <i class="iconfont icon-lingdang"></i>
      <sup class="el-badge">5</sup>
      <!-- <el-badge class="mark" :value="mark" /> -->
     </div>
  </div>
</template>
<script>
export default {
  name: "v-header",
  data() {
    return {
      input21: "",
      mark: "5"
    };
  }
};
</script>
<style lang="stylus" scoped>
.header {
  width: 100%;
  height: 70px;
  background: #262c38;
  position: fixed;
  z-index: 1000;

  .logo {
    height: 70px;
    min-width: 150px;
    background: url('../assets/img/LOGO@2x.png') center center no-repeat;
  }

  .RightBox {
    width: 450px;
    height: 100%;
    line-height: 70px;
    position: absolute;
    right: 0;
    top: 0;
    color: #999;

    input {
      width: 270px;
      height: 32px;
      border-radius: 20px;
      font-size: 14px;
      padding: 0 15px;
    }

    .icon-search {
      position: relative;
      left: -40px;
      font-weight: 600;
      cursor: pointer;
    }

    .icon-lingdang {
      cursor: pointer;
    }

    .el-badge {
      background-color: red;
      border-radius: 10px;
      color: #fff;
      display: inline-block;
      font-size: 12px;
      height: 14px;
      line-height: 14px;
      padding: 0 4px;
      text-align: center;
      white-space: nowrap;
      position: relative;
      left: -4px;
      top: -4px;
    }
  }
}
</style>


